package lanzhiguo.Android;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
//import android.widget.TextView;

public class AndroidTest extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //
        Intent i = getIntent();
        String action = i.getAction();
        if (action != null &&
        action.equals("lanzhiguo.Android.SMS_RECEIVER"))
        {
        	finish();
        	startActivity(new Intent("lanzhiguo.Android.NEW_SMS_RECEIVER"));
        }
       else
        {
        setContentView(R.layout.main);
        finish();
        startActivity(new Intent("lanzhiguo.Android.SHOW_SPLASH"));
       }
    }
}